import axios from 'axios'

axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8'

const BASE_URL = 'api'
const request = axios.create({
  baseURL: BASE_URL,
  timeout: 20000
})

export default request